js获取30、X天前得时间 //获取当前日期 var date = new Date(); var year = date.getFullYear(); var month = date.getMonth()+1; v ...